package com.zhuiyun.project.api.collectVideo.entity;

import com.zhuiyun.project.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName Favorites
 * @Description TODO 收藏夹
 * @Author XC8
 * @Date 2024/3/4 8:53
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "favorites")
public class Favorites extends BaseEntity {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int fId;
    /**
     * 收藏夹名称
     */
    private String favoName;
    /**
     * 用户键
     */
    private Integer userId;


}
